| Fully Qualified Name: | Zend\Form\Annotation\Hydrator |
| Extends: | AbstractArrayOrStringAnnotation |
Hydrator annotation
Use this annotation to specify a specific hydrator class to use with the form. The value should be a string indicating the fully qualified class name of the hydrator to use.
| Name | Description | Defined By |
|---|---|---|
| __construct() | Receive and process the contents of an annotation | AbstractArrayOrStringAnnotation |
| getHydrator() | Retrieve the hydrator class | Hydrator |
Receive and process the contents of an annotation
| Parameter Name | Type | Description |
|---|---|---|
| $data | array |
Returns:
Retrieve the hydrator class
Returns: null|string|array